package com.example.feifei.newproject;

import android.app.Application;
import android.content.Context;

import com.facebook.drawee.backends.pipeline.Fresco;

/**
 * Created by feifei on 2018/1/12.
 */

public class MyApplication extends Application {

    public static Context context;

    @Override
    public void onCreate() {
        super.onCreate();
        this.context = this;
        //图片加载框架 Fresco 初始化
        Fresco.initialize(this);
    }
}
